#pragma once

class CRuleModel;
class CSessionGroup;

class CSessionMgr
{
public:
	CSessionMgr(void);
	~CSessionMgr(void);

	static CSessionMgr*	s_SessionMgr;
	static CSessionMgr* GetInstance();

private:
	typedef std::map<int,CSessionGroup*> MAP_SESSION_GROUPS;
	MAP_SESSION_GROUPS		m_mapSessionGroups;

public:
	bool	Initialize( CRuleModel* rule );
	void	Close();
	void	LetsRock();
};

